package com.wash.framework.exception;

public class SurfilterException extends RuntimeException
{
  private static final long serialVersionUID = -218815507439174984L;
  private String errorCode;
  private String errorMsg;

  public SurfilterException(String errorCode, String errorMsg)
  {
    this.errorCode = errorCode;
    this.errorMsg = errorMsg;
  }

  public SurfilterException(String errorCode, Exception ex)
  {
    super(ex);
    this.errorCode = errorCode;
  }

  public String getErrorCode()
  {
    return this.errorCode;
  }

  public void setErrorCode(String errorCode)
  {
    this.errorCode = errorCode;
  }

  public String getErrorMsg()
  {
    return this.errorMsg;
  }

  public void setErrorMsg(String errorMsg)
  {
    this.errorMsg = errorMsg;
  }
}